projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df6b0cb
)
Fix popup with no space
author
Justin Burkett
<justin@burkett.cc>
Tue, 5 Sep 2023 21:28:29 +0000
(17:28 -0400)
committer
Justin Burkett
<justin@burkett.cc>
Tue, 5 Sep 2023 21:28:29 +0000
(17:28 -0400)
Fixes #317
which-key.el
patch
|
blob
|
history
diff --git
a/which-key.el
b/which-key.el
index 25f2397a9a8af291c7bf7ad9f53a843abb26fa49..d68942cf8b1deb310677f985c7752faa33f46600 100644
(file)
--- a/
which-key.el
+++ b/
which-key.el
@@
-2682,7
+2682,9
@@
Finally, show the buffer."
(and which-key--god-mode-support-enabled
(bound-and-true-p god-local-mode)
(eq this-command 'god-mode-self-insert))
- (null this-command)))
+ (null this-command))
+ (let ((max-dim (which-key--popup-max-dimensions)))
+ (> (min (car-safe max-dim) (cdr-safe max-dim)) 0)))
(when (and (not (equal prefix-keys (which-key--current-prefix)))
(or (null which-key-delay-functions)
(null (setq delay-time